import {
    createApp
} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './index.css'
import './assets/css/index.css'

import {
    NavBar,
    Icon,
    ActionBar,
    ActionBarIcon,
    ActionBarButton,
    Search,
    Swipe,
    SwipeItem,
    Grid,
    GridItem,
    Card,
    Tabbar,
    TabbarItem,
    Field,
    CellGroup,
    Image as VanImage,
    Button,
    Form,
    Cell,
    AddressList,
    Tab,
    Tabs,
    Sidebar,
    SidebarItem,
    Stepper,
    SubmitBar,
    Overlay,
    Checkbox,
    CheckboxGroup
} from 'vant'
import 'lib-flexible'

let app = createApp(App)

app.use(NavBar).use(Icon).use(ActionBar).use(ActionBarIcon).use(ActionBarButton).use(Search).use(Swipe).use(SwipeItem).use(Grid).use(GridItem).use(Card).use(Tabbar).use(TabbarItem).use(Field).use(CellGroup).use(VanImage).use(Button).use(Form).use(Cell).use(AddressList).use(Tab).use(Tabs).use(Sidebar).use(SidebarItem).use(Stepper).use(SubmitBar).use(Overlay).use(Checkbox).use(CheckboxGroup)

app.use(store).use(router).mount('#app')